Call setlocale (LC_ALL, ""). (#60606)
authorOwen Taylor <otaylor@redhat.com>
Wed, 10 Oct 2001 21:54:25 +0000 (21:54 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Wed, 10 Oct 2001 21:54:25 +0000 (21:54 +0000)
commitca9158fa031bf1f498b8eaa9fecd4a04ea368ea6
treebaf525dd86fa5c66725d3839c590efb17135b8ad
parent82a3cc699debd3d16e8371d59990d7f4652066ec
Call setlocale (LC_ALL, ""). (#60606)

Wed Oct 10 12:48:38 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkmain.c (gtk_init_check): Call setlocale (LC_ALL, "").
(#60606)

* gtk/gtkmain.c (gtk_disable_setlocale): Add function
to disable calling setlocale (LC_ALL, "").

* gtk/gtkmain.c (gtk_set_locale): Indicate in the
docs that this function is not typically useful.

* gdk/x11/{gdkim-x11.c,gdkmain-x11.c,gdkprivate-x11.h}:
Automatically initialize GDK for the current locale
on gdk_init(). Don't reset locale to C when
XSupportsLocale() fails.

* gdk/linux-fb/gdkim-fb.c (gdk_set_locale): Remove
useless checks for UTF-8 locale breakage that mattered
only for X.

* examples/calendar/calendar.c
tests/{testgtk.c,testtext.c,testcalendar.c}: Remove calls to
gtk_set_locale().

* gtk/gtkiconfactory.c gtk/gtkitemfactory.c:
gdk_pixbuf_new_from_stream => gdk_pixbuf_new_from_inline.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/linux-fb/gdkim-fb.c
gdk/x11/gdkim-x11.c
gdk/x11/gdkmain-x11.c
gdk/x11/gdkprivate-x11.h